package com.hpf.lease.web.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hpf.lease.model.bean.LeaseAgreement;
import com.hpf.lease.web.admin.dto.AgreementSearchSubmitDto;
import com.hpf.lease.web.admin.vo.LeaseAgreementInfoVo;

/**
* @author GOD
* @description 针对表【lease_agreement(租约信息表)】的数据库操作Service
* @createDate 2024-08-29 15:00:50
*/
public interface LeaseAgreementService extends IService<LeaseAgreement> {

    boolean saveOrUpdateInfo(LeaseAgreement leaseAgreement);

    LeaseAgreementInfoVo getDetailById(long id);

    Page<LeaseAgreementInfoVo> getPage(AgreementSearchSubmitDto submitDto);
}
